# 数字映射
import math

china_number_dict = {0: '', 1: '一', 2: '二', 3: '三', 4: '四', 5: '五', 6: '六', 7: '七', 8: '八', 9: '九'}


# 8544


def get_roman_number(num):
    return chr(8543 + num)


def get_china_number(num):
    num_str = ''
    if len(str(num)) == 1:
        num_str= china_number_dict[num]

    if len(str(num)) == 2:
        num_str = f'{china_number_dict[math.floor(num/10 if num/10>=2 else 0)]}十{china_number_dict[num%10]}'
    return num_str





